/**
 * Created by kaki on 2017/9/29.
 */
import http from 'src/utils/http'
import { host } from 'src/config'

// 获取其他信息
export const getExtraInfo = () => {
  const url = host + 'user/cards/extra-info'
  return http.get(url)
}
export const openCard = (data) => {
  const url = host + 'user/profiles'
  return http.post(url, data)
}
export const getProfiles = () => {
  const url = host + 'user/profiles'
  return http.get(url)
}
